-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUGFIX beta] Change style deprecation to warning. #10711
Conversation
@@ -15,6 +15,12 @@ export default function AttrNode(attrName, attrValue) { | |||
this.init(attrName, attrValue); | |||
} | |||
|
|||
export var styleWarning = 'Dynamic content in the `style` attribute is not escaped and may expose your application ' + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this seems pretty verbose, I fear heavy signal-to-noise. I would be a fan of a single brief sentence and a link for more info.
unsafe use of style attribute bindings, please refer to: ....
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tomdale - Thoughts?
6fd02d4
to
61b8acc
Compare
pinged @tomdale for his worth-smithing in slack. |
Let's change this to:
|
still pretty long, but ultimately fine. Remember people may see a good number of these fly past |
61b8acc
to
ea18ee7
Compare
Updated |
ea18ee7
to
31e61f1
Compare
👍 |
[BUGFIX beta] Change style deprecation to warning.
/cc @tomdale @ebryn @mixonic @stefanpenner